package com.tuling.mall.account.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zhd
 * @create 2021-11-08
 */
@Data
@TableName("t_account")
public class AccountEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId
    private Integer id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 账户余额
     */
    private Integer balance;
}
